package cn.iocoder.yudao.module.design.controller.admin.purchase.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
* 采购清单 Base VO，提供给添加、修改、详细的子 VO 使用
* 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
*/
@Data
public class PurchaseBaseVO {

    @Schema(description = "自增id")
    private Long id;

    @Schema(description = "房屋ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "房屋ID不能为空")
    private Long houseId;

    @Schema(description = "流程ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "流程ID不能为空")
    private Long flowId;

    @Schema(description = "采购物品名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "采购物品名称不能为空")
    private String name;

    @Schema(description = "供应商名称")
    private String personName;

    @Schema(description = "供应商联系方式")
    private String mobile;

    @Schema(description = "采购物品数量")
    private Long cnt;

    @Schema(description = "采购物品尺寸")
    private String size;

    @Schema(description = "采购物品位置")
    private String place;

    @Schema(description = "是否安装")
    private String isInstall;

    @Schema(description = "状态" )
    private String statusCd;

    @Schema(description = "材料型号")
    private String purchaseType;




}
